from django.urls import path
from .views import *
app_name = "user"


urlpatterns = [
    path('register/', register, name='register'),

    path('login/', login, name='login'),
    path('logout/', logout, name='logout'),
    path('change_password/', change_password, name='change_password'),
    path('center/', center, name='center'),

    path('article_create/', ArticleCreateView.as_view(), name='article_create'),


    path('article_update/<int:pk>/', ArticleUpdateView.as_view(), name='article_update'),

    path('article_delete/<int:pk>/', ArticleDeleteView.as_view(), name='article_delete'),

    path('article_manage/', ArticleManageView.as_view(), name='article_manage'),

]